package com.cennavi.minemap.bean;
import com.alibaba.fastjson.JSONObject;

public class UserBean{
	
	private Integer id;
	private String username;
	private String password;
	private Integer type;
	private String name;
	private String mail;
	private String contact;
	private Integer certType;
	private String info;
	private String createTime;
	private String vCode;
	private String vTime;
	private Short locked;
	private String digest;
	
	private Short mailStatus;
	private Short contactStatus;
	private String company;
	
	public UserBean(){
		
	}
	
	
	public UserBean(String json){
		JSONObject object = JSONObject.parseObject(json);
		this.username = object.getString("username");
		this.password = object.getString("password");
		this.mail = object.getString("mail");
	}
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public Integer getCertType() {
		return certType;
	}
	public void setCertType(Integer certType) {
		this.certType = certType;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getvCode() {
		return vCode;
	}
	public void setvCode(String vCode) {
		this.vCode = vCode;
	}
	public String getvTime() {
		return vTime;
	}
	public void setvTime(String vTime) {
		this.vTime = vTime;
	}
	public Short getLocked() {
		return locked;
	}
	public void setLocked(Short locked) {
		this.locked = locked;
	}


	public String getDigest() {
		return digest;
	}
	public void setDigest(String digest) {
		this.digest = digest;
	}


	public Short getMailStatus() {
		return mailStatus;
	}
	public void setMailStatus(Short mailStatus) {
		this.mailStatus = mailStatus;
	}
	public Short getContactStatus() {
		return contactStatus;
	}
	public void setContactStatus(Short contactStatus) {
		this.contactStatus = contactStatus;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	
}
